Total Complexity | 11 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 145 |
Lines of code | 103 |
Logical lines of code | 22 |
Comment lines | 15 |
Methods | 8 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
register_endpoints() | 42 | 1 | 75 | |
instance() | 71 | 2 | 6 | |
authorise() | 68 | 2 | 7 | |
checkPermissions() | 76 | 2 | 4 | |
init() | 75 | 1 | 4 | |
discountCodesCheckPermissions() | 82 | 1 | 3 | |
__construct() | 91 | 1 | 2 | |
__clone() | 91 | 1 | 2 |